package com.pojo;

import java.io.Serializable;

public class Feedback implements Serializable {

    private Integer fId;
    private Course course;
    private User user;
    private String content;
    private String remarks;
    private Integer state;

    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Feedback(Integer fId, Course course, User user, String content, String remarks, Integer state) {
        this.fId = fId;
        this.course = course;
        this.user = user;
        this.content = content;
        this.remarks = remarks;
        this.state = state;
    }

    public Feedback() {
    }

    @Override
    public String toString() {
        return "Feedback{" +
                "fId=" + fId +
                ", course=" + course +
                ", user=" + user +
                ", content='" + content + '\'' +
                ", remarks='" + remarks + '\'' +
                ", state=" + state +
                '}';
    }
}
